<template>
	<div>
		<div class="mine-infor" style="margin-top: 0;">
			<div class="essen_list essen_list2 type1">
				<p></p>
				<p><span>供应商名称</span><b>{{content.name}}</b></p>
				<p><span>供应商地址</span><b>{{content.address}}</b></p>
			</div>
			<div class="essen_list type2">
				<p><span>公司电话</span><b>{{content.contact?content.contact.tel:''}}</b></p>
				<p><span>业务范围</span><b>{{content.scopeBusinessNames}}</b></p>
			</div>
			<div class="essen_list type3">
				<p><span>联系人</span><b>{{content.contact?content.contact.name:''}}</b></p>
				<p><span>联系人电话</span><b>{{content.contact?content.contact.tel:''}}</b></p>
				<p><span>联系人邮箱</span><b>{{content.contact?content.contact.email:''}}</b></p>
			</div>
			<ol class="material_photo_list">

			</ol>
		</div>
	</div>

</template>

<script>
	import { getClientInfo } from '../../config/api'
	import { getStore } from '../../config/mUtils' 
	export default {
		data() {
			return {
				username:getStore('username'),
				content:''
			}
		},
		created(){
			getClientInfo(this.username).then(res=>{
				if(res.code==100){
					this.content = res.content
				}
			})
		}
	}
</script>

<style scoped="scoped">
</style>
